<?

?>

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" ALIGN=CENTER>
  <tr  valign=top> 
    <td width="21%" bgcolor="#F4F4F4"> 
      <!--		<TD WIDTH="30%"> -->
      <!-- ** Tabla Categorias ** -->
      <table width="100%" border="0" cellspacing="0" cellpadding="3">
        <tr> 
          <td bgcolor="#FF6600"> <center>
              <? print $MSG_276; ?> </center></td>
        </tr>
        <tr valign="top"> 
          <td> <? print $TPL_categories_value; ?> </td>
        </tr>
      </table>
      <!-- ** ** -->
    </td>
    <td width="63%" VALIGN="top"><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="451">
        <!-- ** LAST AUCTIONS INSERTED ** -->
        <TR VALIGN="top"> 
          <TD WIDTH="8%"> <IMG SRC="./images/transparent.gif" WIDTH="30" BORDER="0"> 
          </TD>
          <TD WIDTH="92%"> <TABLE BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="100%">
              <TR> 
                <TD COLSPAN=2> <B><? print $MSG_278; ?></B> <table>
                    <? print $TPL_last_auctions_value; ?></table></TD>
              </TR>
            </TABLE></TD>
        </TR>
        <!-- ** HIGHER BIDS ** -->
        <TR VALIGN="top"> 
          <TD WIDTH="8%"> <IMG SRC="./images/transparent.gif" WIDTH="30"> </TD>
          <TD WIDTH="92%"> <BR> <TABLE border="0" cellpadding="5" cellspacing="0" width=\"100%\">
              <TR> 
                <TD width="424" colspan=2> <IMG src="./images/linea.gif" width="370" height="8"><BR> 
                  <B><? print $MSG_279; ?></B><BR> <TABLE>
                    <? print $TPL_maximum_bids; ?></TABLE></TD>
              </TR>
            </TABLE></TD>
        </TR>
        <!-- ** ENDING SOON ** -->
        <TR VALIGN="top"> 
          <TD WIDTH="8%"> <IMG SRC="./images/transparent.gif" WIDTH="30"> </TD>
          <TD WIDTH="92%"> <BR> <TABLE border="0" cellpadding="5" cellspacing="0" width="90%">
              <TR> 
                <TD colspan=2> <IMG src="./images/linea.gif" width="370" height="8"><BR> 
                  <B><? print $MSG_280; ?></B> <BR> <table>
                    <? print $TPL_ending_soon_value; ?></table></TD>
              </TR>
            </TABLE></TD>
        </TR>
        <!-- end table started with ** LAST AUCTIONS INSERTED ** -->
      </TABLE>
      </td>
    <td width="16%" VALIGN="top" bgcolor="#F4F4F4"> 
	<?
	if($SETTINGS[loginbox] == 1)
	{
		if(!$HTTP_SESSION_VARS["PHPAUCTION_LOGGED_IN"])
		{
?>


    <FORM NAME=login ACTION=login.php METHOD=post>
      <TABLE width="100%" border="0" cellspacing="0" cellpadding="6">
        <TR> 
          <TD colspan="2"> <CENTER>
              <? print $MSG_221; ?> </CENTER></TD>
        </TR>
        <TR valign="top"> 
          <TD height="16" colspan="2"><B><? print $HTTP_COOKIE_VARS[$LOGGED_IN_COOKIE]; ?></B></TD>
        </TR>
        <TR valign="top"> 
          <TD height="16" width="16%"><? print $MSG_003; ?> </TD>
          <TD height="16" width="84%"> <INPUT type="text" name="username" size="8"> 
          </TD>
        </TR>
        <TR valign="top"> 
          <TD height="16" width="16%"> <? print $MSG_004; ?> </TD>
          <TD height="16" width="84%"> <INPUT type="password" name="password" size="8"> 
          </TD>
        </TR>
        <TR valign="top"> 
          <TD height="16" colspan="2"><A href="forgotpasswd.php"><? print $MSG_215; ?></A> 
          </TD>
        </TR>
        <TR valign="top> 
            <TD height="16" width="16%">&nbsp;</TD>
          <TD height="16" width="84%"> <INPUT type="submit" name="action" value="<? print $MSG_275; ?>"> 
          </TD>
        </TR>
      </TABLE>
    </FORM>
    <?
	}
	else
	{
?>
    <TABLE width="100%" border="0" cellspacing="0" cellpadding="6">
      <TR> 
        <TD colspan="2"> <CENTER>
            <? print $MSG_246; ?> </CENTER></TD>
      </TR>
      <TR valign="top"> 
        <TD height="16" colspan="2"> <? print $MSG_247."<B>".$HTTP_SESSION_VARS[PHPAUCTION_LOGGED_IN_USERNAME]."</B>"; ?> 
        </TD>
      </TR>
      <TR valign="top"> 
        <TD height="16" colspan="2"> <A HREF="./edit_data.php?"> <? print $MSG_244; ?> 
          </a></TD>
      </TR>
      <TR valign="top"> 
        <TD height="16" colspan="2"> <A HREF="user_menu.php"> <? print $MSG_622; ?> 
          </A></TD>
      </TR>
      <TR valign="top"> 
        <TD height="16" colspan="2"> <A HREF="logout.php"> <? print $MSG_245; ?> 
          </A></TD>
      </TR>
    </TABLE>
	
    <?
	}
}
?>
    <TABLE width="100%" border="0" cellspacing="0" cellpadding="6">
      <TR> 
        <TD> <CENTER>
            <? print $MSG_281; ?> </CENTER></TD>
      </TR>
      <TR valign="top"> 
        <TD height="39"> <? print $TPL_helptopics; ?> </TD>
      </TR>
    </TABLE>
    <?
      	if($SETTINGS[newsbox] == 1)
      	{
      ?>
    <table width="100%" border="0" cellspacing="0" cellpadding="6">
      <tr> 
        <td> <center>
            <? print $MSG_282; ?> </center></td>
      </tr>
      <tr valign="top"> 
        <td height="200"><? print $TPL_news_list; ?></td>
      </tr>
    </table>
    <?
					}
				?>


</td>




  </tr>
</TABLE>


